package com.ytjj.qmyx.supplychain.mapper;

import com.ytjj.qmyx.supplychain.common.model.response.BankerStoreAddressResponse;
import com.ytjj.qmyx.supplychain.mapper.entity.YxBankerStoreAddress;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.ArrayList;
import java.util.List;

public interface BankerStoreAddressMapper extends Mapper<YxBankerStoreAddress> {
    List<YxBankerStoreAddress> selectAddresses(YxBankerStoreAddress yxBankerStoreAddress);

    List<BankerStoreAddressResponse> selectByBankerId(@Param("bankerId") Integer bankerId, @Param("addressId") Integer addressId);

    List<BankerStoreAddressResponse> getReturnGoodAddressList(@Param("bankerIdList")List<String> bankerIdList);
}
